function show_stock(){
	var stock_span = $("#stock_span");
	var product_id = stock_span.attr("prd_id");
	var page_type = stock_span.attr("page_type");
	var url = 'callback.php?type=stock&product_id='+product_id+'&page_type='+page_type+'&t='+Math.random();
	$.get(url,function(data){
		if(data!=''){
			$("#stock_html").html(data);
		}
	});
}
show_stock();